﻿using System.Threading.Tasks;
using MicroApplication.Common.Input;
using MicroApplication.Common.Output;
using MicroApplication.Model.Business;
using MicroApplication.Service.Business.Driver.Input;

namespace MicroApplication.Service.Business.Driver
{	
    public interface IDriverService
	{
        Task<IResponseOutput> GetAsync(long id);

        Task<IResponseOutput> PageAsync(PageInput<DriverEntity> input);

        Task<IResponseOutput> AddAsync(DriverAddInput input);

        Task<IResponseOutput> UpdateAsync(DriverUpdateInput input);

        Task<IResponseOutput> DeleteAsync(long id);
    }
}